<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<table border="1" align="center">
    <tr th:each="user :${userList}">
    <td th:text="${user.id}"></td>
    <td th:text="${user.name}"></td>
    </tr>
</table>
</body>
</html>